package com.yuyou.fn.tms.tool;

import com.yuyou.fn.tms.vo.SaveOrderParam;

import java.lang.reflect.Field;

public class Tools2 {
    public static void main(String[] args) {

        Field[] fields = SaveOrderParam.Discount.class.getDeclaredFields();

        for(Field field : fields ){
            System.out.println(String.format("reg.set%s%s();" , field.getName().substring(0,1).toUpperCase(),field.getName().substring(1)));
        }

    }
}
